﻿namespace XinGuanERP.Enums.system
{
    public class StatusEnum
    {
        public static readonly StatusEnum YES = new StatusEnum("1", "启用");
        public static readonly StatusEnum NO = new StatusEnum("0", "禁用");

        StatusEnum(string code, string desc) =>
            (Code, Desc) = (code, desc);
        public string Code { get; private set; }
        public string Desc { get; private set; }
    }
}
